#
#  Para definir o task usar: task quickred = "$PATH/quickred.cl"
#

procedure quick2k(input,apdatabase,output)

string input
string apdatabase
string output

begin
#nfind era 512
apall (input,
800, output=output, apertures="", format="multispec", references=apdatabase,
profiles="", interactive=no, find=yes, recenter=no, resize=no, edit=no,
trace=no, fittrace=no, extract=yes, extras=no, review=no, line=INDEF,
nsum=-10, lower=-1.5, upper=1.5, apidtable="", b_function="chebyshev",
b_order=1, b_sample="-10:-6,6:10", b_naverage=-3, b_niterate=0,
b_low_reject=3., b_high_rejec=3., b_grow=0., width=4., radius=5.,
threshold=0., minsep=2., maxsep=1000., order="increasing", aprecenter="",
npeaks=INDEF, shift=no, llimit=INDEF, ulimit=INDEF, ylevel=0.1, peak=yes,
bkg=yes, r_grow=0., avglimits=no, t_nsum=10, t_step=10, t_nlost=3,
t_function="legendre", t_order=2, t_sample="*", t_naverage=1, t_niterate=0,
t_low_reject=3., t_high_rejec=3., t_grow=0., background="none", skybox=1,
weights="none", pfit="fit1d", clean=no, saturation=INDEF, readnoise="0.",
gain="1.", lsigma=4., usigma=4., nsubaps=1)


end







